Optimal. Leaf size=69 \[ \frac{1}{3} x^3 (a C+A b)+a A x+\frac{1}{2} a B x^2+\frac{1}{5} x^5 (A c+b C)+\frac{1}{4} b B x^4+\frac{1}{6} B c x^6+\frac{1}{7} c C x^7 \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0811486, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 23, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.043 \[ \frac{1}{3} x^3 (a C+A b)+a A x+\frac{1}{2} a B x^2+\frac{1}{5} x^5 (A c+b C)+\frac{1}{4} b B x^4+\frac{1}{6} B c x^6+\frac{1}{7} c C x^7 \]
Antiderivative was successfully verified.
[In] Int[(A + B*x + C*x^2)*(a + b*x^2 + c*x^4),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ B a \int x\, dx + \frac{B b x^{4}}{4} + \frac{B c x^{6}}{6} + \frac{C c x^{7}}{7} + a \int A\, dx + x^{5} \left (\frac{A c}{5} + \frac{C b}{5}\right ) + x^{3} \left (\frac{A b}{3} + \frac{C a}{3}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((C*x**2+B*x+A)*(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.02666, size = 69, normalized size = 1. \[ \frac{1}{3} x^3 (a C+A b)+a A x+\frac{1}{2} a B x^2+\frac{1}{5} x^5 (A c+b C)+\frac{1}{4} b B x^4+\frac{1}{6} B c x^6+\frac{1}{7} c C x^7 \]
Antiderivative was successfully verified.
[In] Integrate[(A + B*x + C*x^2)*(a + b*x^2 + c*x^4),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.001, size = 58, normalized size = 0.8 \[ aAx+{\frac{aB{x}^{2}}{2}}+{\frac{ \left ( Ab+aC \right ){x}^{3}}{3}}+{\frac{bB{x}^{4}}{4}}+{\frac{ \left ( Ac+bC \right ){x}^{5}}{5}}+{\frac{Bc{x}^{6}}{6}}+{\frac{cC{x}^{7}}{7}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((C*x^2+B*x+A)*(c*x^4+b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.706545, size = 77, normalized size = 1.12 \[ \frac{1}{7} \, C c x^{7} + \frac{1}{6} \, B c x^{6} + \frac{1}{4} \, B b x^{4} + \frac{1}{5} \,{\left (C b + A c\right )} x^{5} + \frac{1}{2} \, B a x^{2} + \frac{1}{3} \,{\left (C a + A b\right )} x^{3} + A a x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + b*x^2 + a)*(C*x^2 + B*x + A),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.231648, size = 1, normalized size = 0.01 \[ \frac{1}{7} x^{7} c C + \frac{1}{6} x^{6} c B + \frac{1}{5} x^{5} b C + \frac{1}{5} x^{5} c A + \frac{1}{4} x^{4} b B + \frac{1}{3} x^{3} a C + \frac{1}{3} x^{3} b A + \frac{1}{2} x^{2} a B + x a A \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + b*x^2 + a)*(C*x^2 + B*x + A),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.100609, size = 65, normalized size = 0.94 \[ A a x + \frac{B a x^{2}}{2} + \frac{B b x^{4}}{4} + \frac{B c x^{6}}{6} + \frac{C c x^{7}}{7} + x^{5} \left (\frac{A c}{5} + \frac{C b}{5}\right ) + x^{3} \left (\frac{A b}{3} + \frac{C a}{3}\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((C*x**2+B*x+A)*(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.2813, size = 82, normalized size = 1.19 \[ \frac{1}{7} \, C c x^{7} + \frac{1}{6} \, B c x^{6} + \frac{1}{5} \, C b x^{5} + \frac{1}{5} \, A c x^{5} + \frac{1}{4} \, B b x^{4} + \frac{1}{3} \, C a x^{3} + \frac{1}{3} \, A b x^{3} + \frac{1}{2} \, B a x^{2} + A a x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((c*x^4 + b*x^2 + a)*(C*x^2 + B*x + A),x, algorithm="giac")
[Out]